package org.leumasjaffe.initiativeTracker.entity;

/**
 * Wrapper for a trap mechanic to be used
 * @author Sam Jaffe
 *
 */
public class Trap {
	private final org.leumasjaffe.initiativeTracker.entity.trap.Trap trap;

	public Trap(org.leumasjaffe.initiativeTracker.entity.trap.Trap r) {
		this.trap = r;
	}
	
	/**
	 * Activates the trap, printing a useful script for it
	 */
	public void listAilments() {
		System.out.println("TRAP: " + this.trap.getName() + " has activated!");
		System.out.println("The trap's effect will now begin...");
		this.trap.activate();
		System.out.println();
	}
	
}
